/**
 * Copyright &copy; 2012-2016 civet All rights reserved.
 */
package cn.mcsys.myadmin.modules.air.entity;

import cn.mcsys.myadmin.common.persistence.DataEntity;
import org.hibernate.validator.constraints.Length;

import java.util.Date;

/**
 * 车辆统计趋势Entity
 * @author 波波
 * @version 2018-10-05
 */
public class AirCarSumRecord extends DataEntity<AirCarSumRecord> {
	
	private static final long serialVersionUID = 1L;
	private Date recordDate;		// record_date
	private Integer carSum;		// car_sum
	private Integer carType;		// car_type
	
	public AirCarSumRecord() {
		super();
	}

	public AirCarSumRecord(Integer id){
		super(id);
	}

	public Date getRecordDate() {
		return recordDate;
	}

	public void setRecordDate(Date recordDate) {
		this.recordDate = recordDate;
	}
	
	@Length(min=0, max=255, message="car_sum长度必须介于 0 和 255 之间")
	public Integer getCarSum() {
		return carSum;
	}

	public void setCarSum(Integer carSum) {
		this.carSum = carSum;
	}
	
	public Integer getCarType() {
		return carType;
	}

	public void setCarType(Integer carType) {
		this.carType = carType;
	}
	
}